using Circus.CodeEditor;

using System;
using System.ComponentModel;
namespace Circus.Syntax.CodeCompletion
{
	public class CodeSnippetType : ICodeSnippetType, IComparable
	{
		private SnippetType snippetType = SnippetType.None;
		public virtual SnippetType SnippetType
		{
			get
			{
				return this.snippetType;
			}
			set
			{
				if (this.snippetType != value)
				{
					this.snippetType = value;
					this.OnSnippetTypeChanged();
				}
			}
		}
	
		protected virtual void OnSnippetTypeChanged()
		{
		}
		public virtual int CompareTo(object value)
		{
			throw new ArgumentException();
		}
	}
}
